advantages of using mathematics in programming